#include "guish.hpp"
#ifndef LSFIELDS_HPP
#define LSFIELDS_HPP

struct FileEntry
{
	string name;
	list<string> fields;
	
	bool operator<(const FileEntry &rhs) const
		{ return name<rhs.name; }
};
typedef vector<FileEntry> FileEntryList;

int doLs(const char *baseDir, LsCommand command, Job *job, int id, bool unsolicited);

#endif
